var app=angular.module('Swastik',['ui.bootstrap','mainCtrl','swastik','ngRoute','xeditable'])
    .run(function(editableOptions) {
            editableOptions.theme = 'bs3';
        })
    
    .config(['$routeProvider', function($routeProvider){
    $routeProvider
        .when('/', {
            controller : 'mainController',
            templateUrl : '/Swastik/app/views/main.html'
        })
        .when('/simple', {
            controller : 'mainController',
            templateUrl : 'abc2.html'
        })
        .when('/edit/{{id}}', {
            controller : 'mainCtrl',
            templateUrl : 'modal.html'
        });
    }]);

